import { newRequest } from '@/utils/newRequest'

//提交
export function commitMaintainOrderProduct(data) {
    return newRequest({
        url: '/api/Doing/CommitMaintainOrderProduct',
        method: 'post',
        data: {
            ...data
        }
    })
}
//不良原因大类
export function getQcReasonList(params) {
    return newRequest({
        url: '/api/Doing/GetQcReasonList',
        method: 'get',
        params: {
            ...params
        }
    })
}
//不良原因细类
export function getQcReasonDetailList(params) {
    return newRequest({
        url: '/api/Doing/GetQcReasonDetailList',
        method: 'get',
        params: {
            ...params
        }
    })
}
//解决办法
export function getQcSolutionList(params) {
    return newRequest({
        url: '/api/Doing/GetQcSolutionList',
        method: 'get',
        params: {
            ...params
        }
    })
}
//解决办法
export function getScanMainProductInfo(params) {
    return newRequest({
        url: '/api/Doing/GetScanMainProductInfo',
        method: 'get',
        params: {
            ...params
        }
    })
}